import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

import { useUserStore } from './modules/user'
import { useTabListStore } from './modules/tabList'

export { useUserStore, useTabListStore }

export default pinia
